package com.bestcem.xm.member.mq.message;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 示例服务
 *
 * @author yf.wang <yf.wang@idiaoyan.com>
 * @version V1.0
 * @date 2021/8/26
 */

@ToString
@Getter
@Setter
@JsonIgnoreProperties(ignoreUnknown = true)
public class RespondentDataMessage {

    @JsonProperty("project_id")
    private String projectId;

    @JsonProperty("seq")
    private Integer seq;

    @JsonProperty("version")
    private Integer version;

    private String ip;

    @JsonProperty("ip_country")
    private String ipCountry;

    @JsonProperty("ip_province")
    private String ipProvince;

    @JsonProperty("ip_city")
    private String ipCity;

    @JsonProperty("user_agent")
    private String userAgent;

    @JsonProperty("status")
    private String status;

    @JsonProperty("source")
    private String source;

    @JsonProperty("data_status")
    private Integer dataStatus;

    @JsonProperty("time")
    private String time;

    @JsonProperty("begin_time")
    private String beginTime;

    @JsonProperty("group_id")
    private String groupId;

    @JsonProperty("respondent_id")
    private String respondentId;

    @JsonProperty("answers")
    private JSONObject answers;

    @JsonProperty("custom_answers")
    private JSONObject customAnswers;

    @JsonProperty("finish_time")
    private String finishTime;

    @JsonProperty("group_code")
    private String groupCode;

    @JsonProperty("member_id")
    private String memberId;

    @JsonProperty("deliver_id")
    private String deliverId;

    @JsonProperty("deliver_group_id")
    private String deliverGroupId;

    @JsonProperty("again_deliver_record_id")
    private String againDeliverRecordId;

    @JsonProperty("user_unique_identification")
    private String userUniqueIdentification;

    @JsonProperty("wx_sex")
    private String wxSex;

    @JsonProperty("wx_country")
    private String wxCountry;

    @JsonProperty("wx_province")
    private String wxProvince;

    @JsonProperty("wx_city")
    private String wxCity;

    @JsonProperty("wx_app_id")
    private String wxAppId;

    @JsonProperty("wx_open_id")
    private String wxOpenId;

    @JsonProperty("wx_union_id")
    private String wxUnionId;

    @JsonProperty("wx_nickname")
    private String wxNickname;

    @JsonProperty("avatar")
    private String wxAvatar;

    @JsonProperty("person_id")
    private String personId;

    @JsonProperty("client_type")
    private String clientType;

    @JsonProperty("is_copy_demo")
    private Boolean isCopyDemo;

    @JsonProperty("is_copy")
    private Boolean isCopy;
}
